<!--
 * @Author: your name
 * @Date: 2021-08-13 16:18:35
 * @LastEditTime: 2021-08-22 02:06:50
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \练习\网易严选\6-wang's.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网易人气推荐</title>
    <style>
        html{
            font: 12px '微软雅黑';
        }
        body{
            margin: 0;
        }
        ul{
            margin: 0;padding: 0; list-style: none;
        }
        .wrapper{
            width: 1090px;
            margin:0 auto;
        }
        .xpsf{
            
        }
        .xpsf ul.p_list{
        
        }
        .xpsf ul.p_list::after {
            content: "";
            display: block;
            clear: both;
        }
        .xpsf ul.p_list > li{
            height: 361px;
            float: left;
            width: 265px;
            margin-right: 10px;
            cursor: pointer;
        }
        .xpsf ul.p_list > li:last-child{
            margin-right: 0;
        }
        .xpsf ul.p_list > li:hover{
            background-color: #f4f4f4;
        }
        /* 设置光标悬浮状态下更换图片的功能 */
        .xpsf ul.p_list > li:hover .photo_list{
            margin-left: -265px;
        }
        .xpsf ul.p_list > li > .photo{
            height: 265px;
            overflow: hidden;
        }
        .xpsf ul.p_list > li > .photo > .photo_list{
            width: 530px;
            height: 265px;
            display: flex;
        }
        .xpsf ul.p_list > li > .photo > .photo_list img{
            display: block;
            width: 265px;
        }
        .rqtj{
            background-color: brown;
            height: 300px;
        }
        .jjsh{
            background-color: aquamarine;
            height: 300px;

        }
    </style>
</head>

<body>
    <!-- 容器 -->
    <div class="container">
        <!-- 新品首发 -->
        <div class="xpsf">
            <!-- 居中 -->
            <div class="wrapper">
                <ul class="p_list">
                    <li>
                        <div class="photo">
                            <div class="photo_list">
                                <img src="./img/11.jpg" alt="">
                                <img src="./img/12.jpg" alt="">
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="photo">
                            <div class="photo_list">
                                <img src="./img/21.jpg" alt="">
                                <img src="./img/22.jpg" alt="">
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="photo">
                            <div class="photo_list">
                                <img src="./img/31.jpg" alt="">
                                <img src="./img/32.jpg" alt="">
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="photo">
                            <div class="photo_list">
                                <img src="./img/41.jpg" alt="">
                                <img src="./img/42.jpg" alt="">
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <!-- 人气推荐 -->
        <div class="rqtj">
            <div class="wrapper">
                人气推荐
            </div>
        </div>
        <!-- 居家生活 -->
        <div class="jjsh">
            <div class="wrapper">
                居家生活
            </div>
        </div>
    </div>
</body>
</html>